
package com.nn.smart.bus.dto;

import com.nn.smart.bus.commons.tools.validator.group.DefaultGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 数据字典简要信息
 *
 * @author nanning
 * @date 2019/7/15 09:29
 */
@Data
@ApiModel(value = "数据字典")
public class SysSimpleDictDTO implements Serializable {

    private static final long serialVersionUID = -4827806651372425347L;

    @ApiModelProperty(value = "字典名称")
    @NotBlank(message = "{sysdict.name.require}", groups = DefaultGroup.class)
    private String dictName;

    @ApiModelProperty(value = "字典值")
    private String dictValue;


    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "主键")
    private Long id;

}
